package com.rybbaby.tss.platform.sysAdminPreferenceConfig.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.platform.sysAdminPreferenceConfig.entity.SysAdminPreferenceConfig;
import com.rybbaby.tss.platform.sysAdminPreferenceConfig.service.ISysAdminPreferenceConfigService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @description 偏好设置数据库操作服务实现
 * 
 * @author 谢进伟
 * 
 * @createDate 2016-11-23 下午11:41:06
 */
@Service
@Transactional
public class SysAdminPreferenceConfigServiceImp extends BaseServiceImp<SysAdminPreferenceConfig> implements ISysAdminPreferenceConfigService {

	@Override
	public List<Map<String , Object>> adminIdDatasource(){
		String sql4 = "SELECT id,username FROM sys_admin_user";
		List<Map<String , Object>> adminId_datasources = this.findForJdbc(sql4 , null);
		return adminId_datasources;
	}
	
	
}
